package com.wxapp.pay.api.pojo.pojo.vo.pay;

import com.wxapp.common.constant.enums.ClientTypeEnum;
import com.wxapp.common.constant.pojo.vo.FeignRequestVo;
import com.wxapp.common.constant.pojo.vo.HttpRequestVo;
import com.wxapp.pay.api.pojo.enums.listener.RedirectTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.http.HttpMethod;

/**
 * @author lgl
 */
@Data
public class QPayVo {

    /**
     * 支付类型
     */
    @Schema(description = "支付类型",  requiredMode = Schema.RequiredMode.REQUIRED)
    private String payType;
    /**
     * 支付名称
     */
    @Schema(description = "支付名称",  requiredMode = Schema.RequiredMode.REQUIRED)
    private String payName;
    /**
     * 订单code
     */
    @Schema(description = "订单code",  requiredMode = Schema.RequiredMode.REQUIRED)
    private String orderCode;
    /**
     * 前端回调
     */
    @Schema(description = "前端回调")
    private String frontBackUrl;
    /**
     * 前端回调参数
     */
    @Schema(description = "前端回调参数")
    private String frontBackData;
    /**
     * 重定向类型
     */
    @Schema(description = "重定向类型")
    private RedirectTypeEnum requestType;
    /**
     * 前端回调参数
     */
    @Schema(description = "后端回调参数")
    private String serviceBackData;
    /**
     * http重定向url
     */
    @Schema(description = "http重定向url")
    private HttpRequestVo<Object> httpRedirect;
    /**
     * openFeign重定向url
     */
    @Schema(description = "openFeign重定向url")
    private FeignRequestVo<Object> feignRedirect;
}
